<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>翻转</title>
<style>
div{
    width: 213px;
    height: 180px;
    border: 1px red solid;
    background-color: #fff;
    margin: 100px auto;
    perspective: 200px;
    transition: 2s;
    transform-style: preserve-3d;
}
</style>
</head>

<body>
    <div>
        <img src="images/btn.jpg" alt="冒险岛logo/枫叶传说/回忆冒险岛" width="213" height="213"/>
    </div>
    <script>
    var odiv=document.getElementsByTagName("div")[0];
    odiv.onclick=function(){
        this.style.transform="rotateY(-360deg)";
    }
    </script>
</body>
</html>